﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using V = Science.Mathematics.VectorCalculus;

namespace VectorCalculus5Ed.Chapter1.Section1
{
    public class Example11
    {
        public Example11()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
            V.Vector a = new V.Vector(3);
            a[0] = 1.0;
            a[1] = 0.0;
            a[2] = 0.0;
            V.Vector v = V.UnitVector.j;

            V.Line l = new V.Line(a,v);

            l.Parameter = 10.0;

            V.Vector v3 = l.GetVectorOnLine();

            result += v3[0].ToString() + "   " +
                v3[1].ToString() + "   " + v3[2].ToString() + "\r\n";
         }
    }
}

// 1   10   0
